﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XemlUtilities.ISA.Ontology
{
    public class Term
    {

        public Term(OntologyBase ontology)
        {
            this.Ontology = ontology;
        }

        public String Name { get; set; }
        public OntologyBase Ontology { get; set; }
        public String AccessionNr { get; set; }

        public string URI
        {
            get
            {
                return string.Format(Ontology.URL, AccessionNr);
            }
        }
    }
}
